

<!DOCTYPE html>


<html lang="zh-CN" >

  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

    <title>WindowsBot &#8212; Aibote  文档</title>
  
  
  
  <script data-cfasync="false">
    document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
    document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
  </script>
  
  <!-- Loaded before other Sphinx assets -->
  <link href="../../_static/styles/theme.css?digest=12da95d707ffb74b382d" rel="stylesheet" />
<link href="../../_static/styles/bootstrap.css?digest=12da95d707ffb74b382d" rel="stylesheet" />
<link href="../../_static/styles/pydata-sphinx-theme.css?digest=12da95d707ffb74b382d" rel="stylesheet" />

  
  <link href="../../_static/vendor/fontawesome/6.1.2/css/all.min.css?digest=12da95d707ffb74b382d" rel="stylesheet" />
  <link rel="preload" as="font" type="font/woff2" crossorigin href="../../_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../../_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../../_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2" />

    <link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/copybutton.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/togglebutton.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/tabs.css" />
  
  <!-- Pre-loaded scripts that we'll load fully later -->
  <link rel="preload" as="script" href="../../_static/scripts/bootstrap.js?digest=12da95d707ffb74b382d" />
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=12da95d707ffb74b382d" />

    <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
    <script src="../../_static/jquery.js"></script>
    <script src="../../_static/underscore.js"></script>
    <script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="../../_static/doctools.js"></script>
    <script src="../../_static/sphinx_highlight.js"></script>
    <script src="../../_static/clipboard.min.js"></script>
    <script src="../../_static/copybutton.js"></script>
    <script>let toggleHintShow = 'Click to show';</script>
    <script>let toggleHintHide = 'Click to hide';</script>
    <script>let toggleOpenOnPrint = 'true';</script>
    <script src="../../_static/togglebutton.js"></script>
    <script src="../../_static/translations.js"></script>
    <script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
    <link rel="index" title="索引" href="../../genindex.html" />
    <link rel="search" title="搜索" href="../../search.html" />
    <link rel="next" title="WindowsBot.sleep" href="api/WindowsBot.sleep.html" />
    <link rel="prev" title="WebBot.closeDriver" href="api/WebBot.closeDriver.html" />
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <meta name="docsearch:language" content="zh-CN"/>
  </head>
  
  
  <body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">

  
  
  <a class="skip-link" href="#main-content">Skip to main content</a>
  
  <input type="checkbox"
          class="sidebar-toggle"
          name="__primary"
          id="__primary"/>
  <label class="overlay overlay-primary" for="__primary"></label>
  
  <input type="checkbox"
          class="sidebar-toggle"
          name="__secondary"
          id="__secondary"/>
  <label class="overlay overlay-secondary" for="__secondary"></label>
  
  <div class="search-button__wrapper">
    <div class="search-button__overlay"></div>
    <div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
      action="../../search.html"
      method="get">
  <i class="fa-solid fa-magnifying-glass"></i>
  <input type="search"
         class="form-control"
         name="q"
         id="search-input"
         placeholder="Search the docs ..."
         aria-label="Search the docs ..."
         autocomplete="off"
         autocorrect="off"
         autocapitalize="off"
         spellcheck="false"/>
  <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
  </div>
  
    <nav class="bd-header navbar navbar-expand-lg bd-navbar">
<div class="bd-header__inner bd-page-width">
  <label class="sidebar-toggle primary-toggle" for="__primary">
    <span class="fa-solid fa-bars"></span>
  </label>
  
  <div class="navbar-header-items__start">
    
      <div class="navbar-item">
  

<a class="navbar-brand logo" href="../../index.html">
  
  
  
  
  
    <p class="title logo__title">Aibote  文档</p>
  
</a></div>
    
  </div>
  
  
  <div class="col-lg-9 navbar-header-items">
    
    <div class="me-auto navbar-header-items__center">
      
        <div class="navbar-item"><nav class="navbar-nav">
  <p class="sidebar-header-items__title"
     role="heading"
     aria-level="1"
     aria-label="Site Navigation">
    Site Navigation
  </p>
  <ul class="bd-navbar-elements navbar-nav">
    
                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../user_guide/index.html">
                        Aibote 基本使用
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../dev_manual/index.html">
                        Aibote 开发手册
                      </a>
                    </li>
                

                    <li class="nav-item current active">
                      <a class="nav-link nav-internal" href="../index.html">
                        API 参考
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../api_protocol/aiboteProtocol.html">
                        API 开源协议
                      </a>
                    </li>
                
  </ul>
</nav></div>
      
    </div>
    
    
    <div class="navbar-header-items__end">
      
        <div class="navbar-item navbar-persistent--container">
          
<script>
document.write(`
  <button class="btn btn-sm navbar-btn search-button search-button__button" title="搜索" aria-label="搜索" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <i class="fa-solid fa-magnifying-glass"></i>
  </button>
`);
</script>
        </div>
      
      
        <div class="navbar-item">
<script>
document.write(`
  <button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
    <span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
    <span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
  </button>
`);
</script></div>
      
    </div>
    
  </div>
  
  
    <div class="navbar-persistent--mobile">
<script>
document.write(`
  <button class="btn btn-sm navbar-btn search-button search-button__button" title="搜索" aria-label="搜索" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <i class="fa-solid fa-magnifying-glass"></i>
  </button>
`);
</script>
    </div>
  

  
    <label class="sidebar-toggle secondary-toggle" for="__secondary">
      <span class="fa-solid fa-outdent"></span>
    </label>
  
</div>

    </nav>
  
  <div class="bd-container">
    <div class="bd-container__inner bd-page-width">
      
      <div class="bd-sidebar-primary bd-sidebar">
        

  
  <div class="sidebar-header-items sidebar-primary__section">
    
    
      <div class="sidebar-header-items__center">
        
          <div class="navbar-item"><nav class="navbar-nav">
  <p class="sidebar-header-items__title"
     role="heading"
     aria-level="1"
     aria-label="Site Navigation">
    Site Navigation
  </p>
  <ul class="bd-navbar-elements navbar-nav">
    
                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../user_guide/index.html">
                        Aibote 基本使用
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../dev_manual/index.html">
                        Aibote 开发手册
                      </a>
                    </li>
                

                    <li class="nav-item current active">
                      <a class="nav-link nav-internal" href="../index.html">
                        API 参考
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../../api_protocol/aiboteProtocol.html">
                        API 开源协议
                      </a>
                    </li>
                
  </ul>
</nav></div>
        
      </div>
    
    
    
      <div class="sidebar-header-items__end">
        
          <div class="navbar-item">
<script>
document.write(`
  <button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
    <span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
    <span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
  </button>
`);
</script></div>
        
      </div>
    
  </div>
  
    <div class="sidebar-primary-items__start sidebar-primary__section">
        <div class="sidebar-primary-item"><nav class="bd-docs-nav bd-links"
     aria-label="Section Navigation">
  <p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
  <div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1 current active has-children"><a class="reference internal" href="../JavaScript.html">Javascript</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-1"><i class="fa-solid fa-chevron-down"></i></label><ul class="current">
<li class="toctree-l2 has-children"><a class="reference internal" href="AndroidBot.html">AndroidBot</a><input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-2"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.sleep.html">AndroidBot.sleep</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.setImplicitTimeout.html">AndroidBot.setImplicitTimeout</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.saveScreenshot.html">AndroidBot.saveScreenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getColor.html">AndroidBot.getColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.findImage.html">AndroidBot.findImage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.findAnimation.html">AndroidBot.findAnimation</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.findColor.html">AndroidBot.findColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.compareColor.html">AndroidBot.compareColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.press.html">AndroidBot.press</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.move.html">AndroidBot.move</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.release.html">AndroidBot.release</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.click.html">AndroidBot.click</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.doubleClick.html">AndroidBot.doubleClick</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.longClick.html">AndroidBot.longClick</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.swipe.html">AndroidBot.swipe</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.dispatchGesture.html">AndroidBot.dispatchGesture</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.dispatchGestures.html">AndroidBot.dispatchGestures</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.sendKeys.html">AndroidBot.sendKeys</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.sendVk.html">AndroidBot.sendVk</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.back.html">AndroidBot.back</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.home.html">AndroidBot.home</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.recents.html">AndroidBot.recents</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getWords.html">AndroidBot.getWords</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.findWords.html">AndroidBot.findWords</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.urlRequest.html">AndroidBot.urlRequest</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.showToast.html">AndroidBot.showToast</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.startApp.html">AndroidBot.startApp</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getWindowSize.html">AndroidBot.getWindowSize</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getImageSize.html">AndroidBot.getImageSize</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getAndroidId.html">AndroidBot.getAndroidId</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getCaptcha.html">AndroidBot.getCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.errorCaptcha.html">AndroidBot.errorCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.scoreCaptcha.html">AndroidBot.scoreCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getElementRect.html">AndroidBot.getElementRect</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getElementDescription.html">AndroidBot.getElementDescription</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getElementText.html">AndroidBot.getElementText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.elementIsVisible.html">AndroidBot.elementIsVisible</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.setElementText.html">AndroidBot.setElementText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.clickElement.html">AndroidBot.clickElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.scrollElement.html">AndroidBot.scrollElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.existsElement.html">AndroidBot.existsElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.isSelectedElement.html">AndroidBot.isSelectedElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.pushFile.html">AndroidBot.pushFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.pullFile.html">AndroidBot.pullFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.writeAndroidFile.html">AndroidBot.writeAndroidFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.readAndroidFile.html">AndroidBot.readAndroidFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.deleteAndroidFile.html">AndroidBot.deleteAndroidFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.existsAndroidFile.html">AndroidBot.existsAndroidFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.openUri.html">AndroidBot.openUri</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.callPhone.html">AndroidBot.callPhone</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.sendMsg.html">AndroidBot.sendMsg</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getActivity.html">AndroidBot.getActivity</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getPackage.html">AndroidBot.getPackage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.setClipboardText.html">AndroidBot.setClipboardText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getClipboardText.html">AndroidBot.getClipboardText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.createTextView.html">AndroidBot.createTextView</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.createEditText.html">AndroidBot.createEditText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.createCheckBox.html">AndroidBot.createCheckBox</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.createWebView.html">AndroidBot.createWebView</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.clearScriptControl.html">AndroidBot.clearScriptControl</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/AndroidBot.getScriptParam.html">AndroidBot.getScriptParam</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="WebBot.html">WebBot</a><input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-3"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.sleep.html">WebBot.sleep</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setImplicitTimeout.html">WebBot.setImplicitTimeout</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.goto.html">WebBot.goto</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.newPage.html">WebBot.newPage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.back.html">WebBot.back</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.forward.html">WebBot.forward</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.refresh.html">WebBot.refresh</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getCurPageId.html">WebBot.getCurPageId</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getAllPageId.html">WebBot.getAllPageId</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.switchPage.html">WebBot.switchPage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.closePage.html">WebBot.closePage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getCurrentUrl.html">WebBot.getCurrentUrl</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getTitle.html">WebBot.getTitle</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.switchFrame.html">WebBot.switchFrame</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.switchMainFrame.html">WebBot.switchMainFrame</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clickElement.html">WebBot.clickElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setElementValue.html">WebBot.setElementValue</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getElementText.html">WebBot.getElementText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getElementOuterHTML.html">WebBot.getElementOuterHTML</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getElementInnerHTML.html">WebBot.getElementInnerHTML</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setElementAttribute.html">WebBot.setElementAttribute</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getElementAttribute.html">WebBot.getElementAttribute</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getElementRect.html">WebBot.getElementRect</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.isSelected.html">WebBot.isSelected</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.isDisplayed.html">WebBot.isDisplayed</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.isEnabled.html">WebBot.isEnabled</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clearElement.html">WebBot.clearElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setElementFocus.html">WebBot.setElementFocus</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.uploadFile.html">WebBot.uploadFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.sendKeys.html">WebBot.sendKeys</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.sendVk.html">WebBot.sendVk</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clickMouse.html">WebBot.clickMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.moveMouse.html">WebBot.moveMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.wheelMouse.html">WebBot.wheelMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clickMouseByXpath.html">WebBot.clickMouseByXpath</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.moveMouseByXpath.html">WebBot.moveMouseByXpath</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.wheelMouseByXpath.html">WebBot.wheelMouseByXpath</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.takeScreenshot.html">WebBot.takeScreenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clickAlert.html">WebBot.clickAlert</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getAlertText.html">WebBot.getAlertText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getCookies.html">WebBot.getCookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getAllCookies.html">WebBot.getAllCookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setCookie.html">WebBot.setCookie</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.deleteCookies.html">WebBot.deleteCookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.deleteAllCookies.html">WebBot.deleteAllCookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.clearCache.html">WebBot.clearCache</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.executeScript.html">WebBot.executeScript</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.getWindowPos.html">WebBot.getWindowPos</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.setWindowPos.html">WebBot.setWindowPos</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.mobileEmulation.html">WebBot.mobileEmulation</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.closeBrowser.html">WebBot.closeBrowser</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WebBot.closeDriver.html">WebBot.closeDriver</a></li>
</ul>
</li>
<li class="toctree-l2 current active has-children"><a class="current reference internal" href="#">WindowsBot</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-4"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.sleep.html">WindowsBot.sleep</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setImplicitTimeout.html">WindowsBot.setImplicitTimeout</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findWindow.html">WindowsBot.findWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findWindows.html">WindowsBot.findWindows</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findSubWindow.html">WindowsBot.findSubWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findParentWindow.html">WindowsBot.findParentWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findDesktopWindow.html">WindowsBot.findDesktopWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getWindowName.html">WindowsBot.getWindowName</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.showWindow.html">WindowsBot.showWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setWindowTop.html">WindowsBot.setWindowTop</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getWindowPos.html">WindowsBot.getWindowPos</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setWindowPos.html">WindowsBot.setWindowPos</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.moveMouse.html">WindowsBot.moveMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.moveMouseRelative.html">WindowsBot.moveMouseRelative</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.rollMouse.html">WindowsBot.rollMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.clickMouse.html">WindowsBot.clickMouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.sendKeys.html">WindowsBot.sendKeys</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.sendKeysByHwnd.html">WindowsBot.sendKeysByHwnd</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.sendVk.html">WindowsBot.sendVk</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.sendVkByHwnd.html">WindowsBot.sendVkByHwnd</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.saveScreenshot.html">WindowsBot.saveScreenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getColor.html">WindowsBot.getColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findImage.html">WindowsBot.findImage</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findAnimation.html">WindowsBot.findAnimation</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findColor.html">WindowsBot.findColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.compareColor.html">WindowsBot.compareColor</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getWords.html">WindowsBot.getWords</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.findWords.html">WindowsBot.findWords</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getElementName.html">WindowsBot.getElementName</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getElementValue.html">WindowsBot.getElementValue</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getElementRect.html">WindowsBot.getElementRect</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getElementWindow.html">WindowsBot.getElementWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.clickElement.html">WindowsBot.clickElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.invokeElement.html">WindowsBot.invokeElement</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setElementFocus.html">WindowsBot.setElementFocus</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setElementValue.html">WindowsBot.setElementValue</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setElementScroll.html">WindowsBot.setElementScroll</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.isSelected.html">WindowsBot.isSelected</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.closeWindow.html">WindowsBot.closeWindow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setWindowState.html">WindowsBot.setWindowState</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.setClipboardText.html">WindowsBot.setClipboardText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getClipboardText.html">WindowsBot.getClipboardText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.startProcess.html">WindowsBot.startProcess</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.executeCommand.html">WindowsBot.executeCommand</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.downloadFile.html">WindowsBot.downloadFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.openExcel.html">WindowsBot.openExcel</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.openExcelSheet.html">WindowsBot.openExcelSheet</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.saveExcel.html">WindowsBot.saveExcel</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.writeExcelNum.html">WindowsBot.writeExcelNum</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.writeExcelStr.html">WindowsBot.writeExcelStr</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.readExcelNum.html">WindowsBot.readExcelNum</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.readExcelStr.html">WindowsBot.readExcelStr</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.removeExcelRow.html">WindowsBot.removeExcelRow</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.removeExcelCol.html">WindowsBot.removeExcelCol</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.getCaptcha.html">WindowsBot.getCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.errorCaptcha.html">WindowsBot.errorCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.scoreCaptcha.html">WindowsBot.scoreCaptcha</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.initNLP.html">WindowsBot.initNLP</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.chatgpt.html">WindowsBot.chatgpt</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.chatgptEdit.html">WindowsBot.chatgptEdit</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.createFineTune.html">WindowsBot.createFineTune</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.listFineTunes.html">WindowsBot.listFineTunes</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.listFineTune.html">WindowsBot.listFineTune</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.cancelFineTune.html">WindowsBot.cancelFineTune</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.deleteFineTuneModel.html">WindowsBot.deleteFineTuneModel</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.uploadTrainFile.html">WindowsBot.uploadTrainFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.listTrainFiles.html">WindowsBot.listTrainFiles</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.listTrainFile.html">WindowsBot.listTrainFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.downloadTrainFile.html">WindowsBot.downloadTrainFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.deleteTrainFile.html">WindowsBot.deleteTrainFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.initSpeechService.html">WindowsBot.initSpeechService</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.audioFileToText.html">WindowsBot.audioFileToText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.microphoneToText.html">WindowsBot.microphoneToText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.textToBullhorn.html">WindowsBot.textToBullhorn</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.textToAudioFile.html">WindowsBot.textToAudioFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.SSMLToBullhorn.html">WindowsBot.SSMLToBullhorn</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.SSMLToFile.html">WindowsBot.SSMLToFile</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.microphoneTranslationText.html">WindowsBot.microphoneTranslationText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.audioFileTranslationText.html">WindowsBot.audioFileTranslationText</a></li>
<li class="toctree-l3"><a class="reference internal" href="api/WindowsBot.closeDriver.html">WindowsBot.closeDriver</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../Python.html">Python</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-5"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2 has-children"><a class="reference internal" href="../py/AndroidBot.html">AndroidBot</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-6"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.any_elements_exists.html">AiBot.AndroidBotMain.any_elements_exists</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.back.html">AiBot.AndroidBotMain.back</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.call_phone.html">AiBot.AndroidBotMain.call_phone</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.clear_script_widget.html">AiBot.AndroidBotMain.clear_script_widget</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.click.html">AiBot.AndroidBotMain.click</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.click_any_elements.html">AiBot.AndroidBotMain.click_any_elements</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.click_element.html">AiBot.AndroidBotMain.click_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.click_element_by_slide.html">AiBot.AndroidBotMain.click_element_by_slide</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.create_check_box.html">AiBot.AndroidBotMain.create_check_box</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.create_edit_view.html">AiBot.AndroidBotMain.create_edit_view</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.create_text_view.html">AiBot.AndroidBotMain.create_text_view</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.create_web_view.html">AiBot.AndroidBotMain.create_web_view</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.delete_android_file.html">AiBot.AndroidBotMain.delete_android_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.double_click.html">AiBot.AndroidBotMain.double_click</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.element_exists.html">AiBot.AndroidBotMain.element_exists</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.element_is_selected.html">AiBot.AndroidBotMain.element_is_selected</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.element_not_exists.html">AiBot.AndroidBotMain.element_not_exists</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.execute.html">AiBot.AndroidBotMain.execute</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.exists_android_file.html">AiBot.AndroidBotMain.exists_android_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.find_color.html">AiBot.AndroidBotMain.find_color</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.find_dynamic_image.html">AiBot.AndroidBotMain.find_dynamic_image</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.find_image.html">AiBot.AndroidBotMain.find_image</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.find_images.html">AiBot.AndroidBotMain.find_images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.find_text.html">AiBot.AndroidBotMain.find_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.gesture.html">AiBot.AndroidBotMain.gesture</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_activity.html">AiBot.AndroidBotMain.get_activity</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_android_id.html">AiBot.AndroidBotMain.get_android_id</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_clipboard_text.html">AiBot.AndroidBotMain.get_clipboard_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_color.html">AiBot.AndroidBotMain.get_color</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_device_ip.html">AiBot.AndroidBotMain.get_device_ip</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_element_desc.html">AiBot.AndroidBotMain.get_element_desc</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_element_rect.html">AiBot.AndroidBotMain.get_element_rect</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_element_text.html">AiBot.AndroidBotMain.get_element_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_image_size.html">AiBot.AndroidBotMain.get_image_size</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_package.html">AiBot.AndroidBotMain.get_package</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_script_params.html">AiBot.AndroidBotMain.get_script_params</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_text.html">AiBot.AndroidBotMain.get_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.get_window_size.html">AiBot.AndroidBotMain.get_window_size</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.home.html">AiBot.AndroidBotMain.home</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.long_click.html">AiBot.AndroidBotMain.long_click</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.move.html">AiBot.AndroidBotMain.move</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.open_uri.html">AiBot.AndroidBotMain.open_uri</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.press.html">AiBot.AndroidBotMain.press</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.press_release.html">AiBot.AndroidBotMain.press_release</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.pull_file.html">AiBot.AndroidBotMain.pull_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.push_file.html">AiBot.AndroidBotMain.push_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.read_android_file.html">AiBot.AndroidBotMain.read_android_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.recent_tasks.html">AiBot.AndroidBotMain.recent_tasks</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.release.html">AiBot.AndroidBotMain.release</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.save_element_screenshot.html">AiBot.AndroidBotMain.save_element_screenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.save_screenshot.html">AiBot.AndroidBotMain.save_screenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.script_main.html">AiBot.AndroidBotMain.script_main</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.scroll_element.html">AiBot.AndroidBotMain.scroll_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.send_keys.html">AiBot.AndroidBotMain.send_keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.send_msg.html">AiBot.AndroidBotMain.send_msg</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.send_vk.html">AiBot.AndroidBotMain.send_vk</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.set_clipboard_text.html">AiBot.AndroidBotMain.set_clipboard_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.set_element_text.html">AiBot.AndroidBotMain.set_element_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.show_toast.html">AiBot.AndroidBotMain.show_toast</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.start_app.html">AiBot.AndroidBotMain.start_app</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.swipe.html">AiBot.AndroidBotMain.swipe</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.AndroidBotMain.write_android_file.html">AiBot.AndroidBotMain.write_android_file</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="../py/WinBot.html">WinBot</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-7"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.click_element.html">AiBot.WinBotMain.click_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.click_mouse.html">AiBot.WinBotMain.click_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.close_window.html">AiBot.WinBotMain.close_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.download_file.html">AiBot.WinBotMain.download_file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.execute.html">AiBot.WinBotMain.execute</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_color.html">AiBot.WinBotMain.find_color</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_dynamic_image.html">AiBot.WinBotMain.find_dynamic_image</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_images.html">AiBot.WinBotMain.find_images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_parent_window.html">AiBot.WinBotMain.find_parent_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_sub_window.html">AiBot.WinBotMain.find_sub_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_text.html">AiBot.WinBotMain.find_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_window.html">AiBot.WinBotMain.find_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.find_windows.html">AiBot.WinBotMain.find_windows</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_clipboard_text.html">AiBot.WinBotMain.get_clipboard_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_color.html">AiBot.WinBotMain.get_color</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_element_name.html">AiBot.WinBotMain.get_element_name</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_element_rect.html">AiBot.WinBotMain.get_element_rect</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_element_value.html">AiBot.WinBotMain.get_element_value</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_element_window.html">AiBot.WinBotMain.get_element_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_text.html">AiBot.WinBotMain.get_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.get_window_name.html">AiBot.WinBotMain.get_window_name</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.move_mouse.html">AiBot.WinBotMain.move_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.save_screenshot.html">AiBot.WinBotMain.save_screenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.script_main.html">AiBot.WinBotMain.script_main</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.scroll_element.html">AiBot.WinBotMain.scroll_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.scroll_mouse.html">AiBot.WinBotMain.scroll_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.send_keys.html">AiBot.WinBotMain.send_keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.send_keys_by_hwnd.html">AiBot.WinBotMain.send_keys_by_hwnd</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.send_vk.html">AiBot.WinBotMain.send_vk</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.send_vk_by_hwnd.html">AiBot.WinBotMain.send_vk_by_hwnd</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.set_clipboard_text.html">AiBot.WinBotMain.set_clipboard_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.set_element_focus.html">AiBot.WinBotMain.set_element_focus</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.set_element_state.html">AiBot.WinBotMain.set_element_state</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.set_element_value.html">AiBot.WinBotMain.set_element_value</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.set_window_top.html">AiBot.WinBotMain.set_window_top</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.show_window.html">AiBot.WinBotMain.show_window</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WinBotMain.start_process.html">AiBot.WinBotMain.start_process</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="../py/WebBot.html">WebBot</a><input class="toctree-checkbox" id="toctree-checkbox-8" name="toctree-checkbox-8" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-8"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.back.html">AiBot.WebBotMain.back</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.clear_cache.html">AiBot.WebBotMain.clear_cache</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.clear_element.html">AiBot.WebBotMain.clear_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.click_alert.html">AiBot.WebBotMain.click_alert</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.click_element.html">AiBot.WebBotMain.click_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.click_mouse.html">AiBot.WebBotMain.click_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.click_mouse_by_element.html">AiBot.WebBotMain.click_mouse_by_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.close_current_page.html">AiBot.WebBotMain.close_current_page</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.delete_all_cookies.html">AiBot.WebBotMain.delete_all_cookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.delete_cookies.html">AiBot.WebBotMain.delete_cookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.execute.html">AiBot.WebBotMain.execute</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.execute_script.html">AiBot.WebBotMain.execute_script</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.forward.html">AiBot.WebBotMain.forward</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_alert_text.html">AiBot.WebBotMain.get_alert_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_all_cookies.html">AiBot.WebBotMain.get_all_cookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_all_page_id.html">AiBot.WebBotMain.get_all_page_id</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_cookies.html">AiBot.WebBotMain.get_cookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_current_page_id.html">AiBot.WebBotMain.get_current_page_id</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_current_title.html">AiBot.WebBotMain.get_current_title</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_current_url.html">AiBot.WebBotMain.get_current_url</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_element_attr.html">AiBot.WebBotMain.get_element_attr</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_element_inner_html.html">AiBot.WebBotMain.get_element_inner_html</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_element_outer_html.html">AiBot.WebBotMain.get_element_outer_html</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_element_rect.html">AiBot.WebBotMain.get_element_rect</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_element_text.html">AiBot.WebBotMain.get_element_text</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.get_window_pos.html">AiBot.WebBotMain.get_window_pos</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.goto.html">AiBot.WebBotMain.goto</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.is_available.html">AiBot.WebBotMain.is_available</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.is_displayed.html">AiBot.WebBotMain.is_displayed</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.is_selected.html">AiBot.WebBotMain.is_selected</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.mobile_emulation.html">AiBot.WebBotMain.mobile_emulation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.move_mouse.html">AiBot.WebBotMain.move_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.move_to_element.html">AiBot.WebBotMain.move_to_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.new_page.html">AiBot.WebBotMain.new_page</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.quit.html">AiBot.WebBotMain.quit</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.refresh.html">AiBot.WebBotMain.refresh</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.save_screenshot.html">AiBot.WebBotMain.save_screenshot</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.script_main.html">AiBot.WebBotMain.script_main</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.scroll_mouse.html">AiBot.WebBotMain.scroll_mouse</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.scroll_mouse_by_element.html">AiBot.WebBotMain.scroll_mouse_by_element</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.send_keys.html">AiBot.WebBotMain.send_keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.send_vk.html">AiBot.WebBotMain.send_vk</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.set_cookies.html">AiBot.WebBotMain.set_cookies</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.set_element_attr.html">AiBot.WebBotMain.set_element_attr</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.set_element_focus.html">AiBot.WebBotMain.set_element_focus</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.set_element_value.html">AiBot.WebBotMain.set_element_value</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.set_window_pos.html">AiBot.WebBotMain.set_window_pos</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.switch_to_frame.html">AiBot.WebBotMain.switch_to_frame</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.switch_to_main_frame.html">AiBot.WebBotMain.switch_to_main_frame</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.switch_to_page.html">AiBot.WebBotMain.switch_to_page</a></li>
<li class="toctree-l3"><a class="reference internal" href="../py/api/AiBot.WebBotMain.upload_file_by_element.html">AiBot.WebBotMain.upload_file_by_element</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</nav></div>
    </div>
  
  
  <div class="sidebar-primary-items__end sidebar-primary__section">
  </div>
  
  <div id="rtd-footer-container"></div>


      </div>
      
      <main id="main-content" class="bd-main">
        
        
          <div class="bd-content">
            <div class="bd-article-container">
              
              <div class="bd-header-article">
<div class="header-article-items header-article__inner">
  
    <div class="header-article-items__start">
      
        <div class="header-article-item">



<nav aria-label="Breadcrumbs">
  <ul class="bd-breadcrumbs" role="navigation" aria-label="Breadcrumb">
    
    <li class="breadcrumb-item breadcrumb-home">
      <a href="../../index.html" class="nav-link" aria-label="Home">
        <i class="fa-solid fa-home"></i>
      </a>
    </li>
    
    <li class="breadcrumb-item"><a href="../index.html" class="nav-link">API 参考</a></li>
    
    
    <li class="breadcrumb-item"><a href="../JavaScript.html" class="nav-link">Javascript</a></li>
    
    <li class="breadcrumb-item active" aria-current="page">WindowsBot</li>
  </ul>
</nav>
</div>
      
    </div>
  
  
</div>
</div>
              
              
              
                
<div id="searchbox"></div>
                <article class="bd-article" role="main">
                  
  <section id="windowsbot">
<span id="api-js-windowsbot"></span><h1>WindowsBot<a class="headerlink" href="#windowsbot" title="此标题的永久链接">#</a></h1>
<dl class="js class">
<dt class="sig sig-object js" id="WindowsBot">
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="n"><span class="pre">WindowsBot</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">clientSocket</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot" title="永久链接至目标">#</a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>clientSocket</strong> (<em>TcpClientSocket</em>) – tcp 客户端</p></li>
</ul>
</dd>
</dl>
<dl class="js attribute">
<dt class="sig sig-object js" id="WindowsBot.ocr">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">ocr</span></span></span><a class="headerlink" href="#WindowsBot.ocr" title="永久链接至目标">#</a></dt>
<dd><p>ocr</p>
</dd></dl>

<dl class="js attribute">
<dt class="sig sig-object js" id="WindowsBot.ocrByFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">ocrByFile</span></span></span><a class="headerlink" href="#WindowsBot.ocrByFile" title="永久链接至目标">#</a></dt>
<dd><p>ocrByFile</p>
</dd></dl>

<dl class="js attribute">
<dt class="sig sig-object js" id="WindowsBot.sendData">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sendData</span></span></span><a class="headerlink" href="#WindowsBot.sendData" title="永久链接至目标">#</a></dt>
<dd><p>发送数据</p>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.SSMLToBullhorn">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">SSMLToBullhorn</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ssmlPath，SSML文本路径</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">language，语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">voiceName，发音人，参考开发文档</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.SSMLToBullhorn" title="永久链接至目标">#</a></dt>
<dd><p>SSML文本格式合成音频到扬声器</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>ssmlPath，SSML文本路径</strong> (<em>string</em>) – </p></li>
<li><p><strong>language，语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>voiceName，发音人，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.SSMLToFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">SSMLToFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ssmlPath，SSML文本路径</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">language，语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">voiceName，发音人，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">audioPath，保存音频文件路径</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.SSMLToFile" title="永久链接至目标">#</a></dt>
<dd><p>SSML文本格式合成音频并保存到文件</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>ssmlPath，SSML文本路径</strong> (<em>string</em>) – </p></li>
<li><p><strong>language，语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>voiceName，发音人，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>audioPath，保存音频文件路径</strong> (<em>string</em>) – </p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.audioFileToText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">audioFileToText</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">language</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.audioFileToText" title="永久链接至目标">#</a></dt>
<dd><p>音频文件转文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>filePath,</strong> (<em>string</em>) – 音频文件路径</p></li>
<li><p><strong>language,</strong> (<em>string</em>) – 语言，参考开发文档 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回转换后的音频文本，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.audioFileTranslationText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">audioFileTranslationText</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">audioPath，</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sourceLanguage，要翻译的语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">targetLanguage，翻译后的语言，参考开发文档</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.audioFileTranslationText" title="永久链接至目标">#</a></dt>
<dd><p>音频文件翻译成目标语言文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>audioPath，</strong> (<em>string</em>) – 要翻译的音频文件路径</p></li>
<li><p><strong>sourceLanguage，要翻译的语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>targetLanguage，翻译后的语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回翻译后的语言文本，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.cancelFineTune">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">cancelFineTune</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fineTuneId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.cancelFineTune" title="永久链接至目标">#</a></dt>
<dd><p>取消正在微调的作业</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fineTuneId,</strong> (<em>string</em>) – 微调id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.chatgpt">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">chatgpt</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">model</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prompt</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">maxTokens</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">temperature</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stop</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.chatgpt" title="永久链接至目标">#</a></dt>
<dd><p>chatGpt</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>model,</strong> (<em>string</em>) – 指定使用的模型,”text-davinci-003”text-curie-001text-babbage-001text-ada-001和自定义微调模型</p></li>
<li><p><strong>prompt,</strong> (<em>string</em>) – 问题</p></li>
<li><p><strong>maxTokens,</strong> (<em>number</em>) – 最大令牌数，大约 3个字符1个令牌，1个汉字2个令牌</p></li>
<li><p><strong>temperature,</strong> (<em>number</em>) – 浮点型，温度，调节结果的创意程度，0一般为单一结果， 1创意度更高</p></li>
<li><p><strong>stop,</strong> (<em>string</em>) – 可选参数，停止结果输出标志，一般用在微调模型上，例如 stop = ‘[“END”]’</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 失败返回null, 成功返回json对象 text 返回的答案内容 finish 为true回答结束，false 还有未输出的答案。我们可以继续 prompt + 输出的答案 获取后续内容，直到finish为true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.chatgptEdit">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">chatgptEdit</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">model</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">input</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">instruction</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">maxTokens</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">temperature</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.chatgptEdit" title="永久链接至目标">#</a></dt>
<dd><p>chatGpt编辑模式</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>model,</strong> (<em>string</em>) – 指定使用的模型， “text-davinci-edit-001””code-davinci-edit-001”</p></li>
<li><p><strong>input,</strong> (<em>string</em>) – 输入要编辑的内容</p></li>
<li><p><strong>instruction,</strong> (<em>string</em>) – 提示如何去编辑</p></li>
<li><p><strong>maxTokens,</strong> (<em>number</em>) – 最大令牌数，大约 3个字符1个令牌，1个汉字2个令牌</p></li>
<li><p><strong>temperature,</strong> (<em>number</em>) – 浮点型，温度，调节结果的创意程度，0一般为单一结果， 1创意度更高</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 失败返回null, 成功返回json对象 text 返回的答案内容 finish 为true回答结束，false 还有未输出的答案。我们可以继续 prompt + 输出的答案 获取后续内容，直到finish为true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.clickElement">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">clickElement</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">msg</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.clickElement" title="永久链接至目标">#</a></dt>
<dd><p>点击元素</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
<li><p><strong>msg</strong> (<em>number</em>) – 单击左键:1 单击右键:2 按下左键:3 弹起左键:4 按下右键:5 弹起右键:6 双击左键:7 双击右键:8</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.clickMouse">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">clickMouse</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">msg</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.clickMouse" title="永久链接至目标">#</a></dt>
<dd><p>鼠标点击</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>x</strong> (<em>number</em>) – 横坐标</p></li>
<li><p><strong>y</strong> (<em>number</em>) – 纵坐标</p></li>
<li><p><strong>msg</strong> (<em>number</em>) – 单击左键:1 单击右键:2 按下左键:3 弹起左键:4 按下右键:5 弹起右键:6 双击左键:7 双击右键:8</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true。</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.closeDriver">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">closeDriver</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.closeDriver" title="永久链接至目标">#</a></dt>
<dd><p>关闭WindowsDriver.exe驱动程序</p>
<dl class="field-list simple">
<dt class="field-odd">返回<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>Promise.&lt;void&gt;</strong> –</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.closeWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">closeWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.closeWindow" title="永久链接至目标">#</a></dt>
<dd><p>关闭窗口</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.compareColor">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">compareColor</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mainX</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mainY</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">strMainColor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.compareColor" title="永久链接至目标">#</a></dt>
<dd><p>比较指定坐标点的颜色值</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>mainX</strong> (<em>number</em>) – 主颜色所在的X坐标</p></li>
<li><p><strong>mainY</strong> (<em>number</em>) – 主颜色所在的Y坐标</p></li>
<li><p><strong>strMainColor</strong> (<em>string</em>) – #开头的色值</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.createFineTune">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">createFineTune</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fileId</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">baseModel</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">suffix</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.createFineTune" title="永久链接至目标">#</a></dt>
<dd><p>创建微调模型</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fileId,</strong> (<em>string</em>) – 文件id，可通过 uploadTrainFile函数上传并获取文件id</p></li>
<li><p><strong>baseModel,</strong> (<em>string</em>) – 基础模型，可以是以下参数之一，”ada”, “babbage”, “curie”, “davinci”和自定义微调模型</p></li>
<li><p><strong>suffix,</strong> (<em>string</em>) – 微调生成的模型名称后缀</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回微调id，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.deleteFineTuneModel">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">deleteFineTuneModel</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fineTuneId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.deleteFineTuneModel" title="永久链接至目标">#</a></dt>
<dd><p>删除微调模型</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fineTuneId,</strong> (<em>string</em>) – 微调id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.deleteTrainFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">deleteTrainFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fileId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.deleteTrainFile" title="永久链接至目标">#</a></dt>
<dd><p>删除训练文件</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fileId,</strong> (<em>string</em>) – 文件id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.downloadFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">downloadFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">url</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">filePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">isWait</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.downloadFile" title="永久链接至目标">#</a></dt>
<dd><p>指定url下载文件</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>url</strong> (<em>string</em>) – 文件地址</p></li>
<li><p><strong>filePath</strong> (<em>string</em>) – 文件保存的路径</p></li>
<li><p><strong>isWait</strong> (<em>boolean</em>) – 是否等待.为true时,等待下载完成</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.downloadTrainFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">downloadTrainFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fileId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.downloadTrainFile" title="永久链接至目标">#</a></dt>
<dd><p>下载训练文件内容</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fileId,</strong> (<em>string</em>) – 文件id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回文件内容，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.errorCaptcha">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">errorCaptcha</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">username</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">password</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">softId</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">picId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.errorCaptcha" title="永久链接至目标">#</a></dt>
<dd><p>识别报错返分</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>username</strong> (<em>string</em>) – 用户名</p></li>
<li><p><strong>password</strong> (<em>string</em>) – 密码</p></li>
<li><p><strong>softId</strong> (<em>string</em>) – 软件ID</p></li>
<li><p><strong>picId</strong> (<em>string</em>) – 图片ID 对应 getCaptcha返回值的pic_id 字段</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{err_no:number, err_str:string}&gt;</strong> – 返回JSON err_no,(数值) 返回代码 err_str,(字符串) 中文描述的返回信息</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.executeCommand">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">executeCommand</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">command</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">waitTimeout=300</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.executeCommand" title="永久链接至目标">#</a></dt>
<dd><p>执行cmd命令</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>command</strong> (<em>string</em>) – cmd命令，不能含 “cmd”字串</p></li>
<li><p><strong>waitTimeout</strong> (<em>number</em>) – 可选参数，等待结果返回超时，单位毫秒，默认300毫秒</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 返回cmd执行结果</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findAnimation">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findAnimation</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">frameRate</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findAnimation" title="永久链接至目标">#</a></dt>
<dd><p>找动态图</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>frameRate</strong> (<em>number</em>) – 前后两张图相隔的时间，单位毫秒</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;number&gt;</strong> – 成功返回 单坐标点[{x:number, y:number}]，多坐标点[{x1:number, y1:number}, {x2:number, y2:number}…] 失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findColor">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findColor</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">strMainColor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findColor" title="永久链接至目标">#</a></dt>
<dd><p>查找指定色值的坐标点</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>strMainColor</strong> (<em>string</em>) – #开头的色值</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{x:number, y:number}&gt;</strong> – 成功返回{x:number, y:number} 失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findDesktopWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findDesktopWindow</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findDesktopWindow" title="永久链接至目标">#</a></dt>
<dd><p>查找桌面窗口句柄</p>
<dl class="field-list simple">
<dt class="field-odd">返回<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回窗口句柄，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findImage">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findImage</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">imagePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findImage" title="永久链接至目标">#</a></dt>
<dd><p>找图</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>imagePath</strong> (<em>string</em>) – 小图片路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回 单坐标点[{x:number, y:number}]，多坐标点[{x1:number, y1:number}, {x2:number, y2:number}…] 失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findParentWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findParentWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">curHwnd</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findParentWindow" title="永久链接至目标">#</a></dt>
<dd><p>查找父窗口句柄</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>curHwnd</strong> (<em>string|number</em>) – 当前窗口句柄</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回窗口句柄，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findSubWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findSubWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">curHwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">className</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">windowNmae</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findSubWindow" title="永久链接至目标">#</a></dt>
<dd><p>查找子窗口句柄</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>curHwnd</strong> (<em>string|number</em>) – 当前窗口句柄</p></li>
<li><p><strong>className</strong> (<em>string</em>) – 窗口类名</p></li>
<li><p><strong>windowNmae</strong> (<em>string</em>) – 窗口名</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回窗口句柄，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">className</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">windowNmae</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findWindow" title="永久链接至目标">#</a></dt>
<dd><p>查找窗口句柄</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>className</strong> (<em>string</em>) – 窗口类名</p></li>
<li><p><strong>windowNmae</strong> (<em>string</em>) – 窗口名</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回窗口句柄，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findWindows">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findWindows</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">className</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">windowNmae</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findWindows" title="永久链接至目标">#</a></dt>
<dd><p>查找窗口句柄数组</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>className</strong> (<em>string</em>) – 窗口类名</p></li>
<li><p><strong>windowNmae</strong> (<em>string</em>) – 窗口名</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p></p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.findWords">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">findWords</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwndOrImagePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">words</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.findWords" title="永久链接至目标">#</a></dt>
<dd><p>查找文字</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwndOrImagePath</strong> (<em>string|number</em>) – 窗口句柄或者图片路径</p></li>
<li><p><strong>words</strong> (<em>string</em>) – 要查找的文字</p></li>
<li><p><strong>options</strong> (<em>string</em>) – 可选参数 region 指定区域 [10, 20, 100, 200]，region默认全图 threshold二值化图片, thresholdType算法类型： 0   THRESH_BINARY算法，当前点值大于阈值thresh时，取最大值maxva，否则设置为0 1   THRESH_BINARY_INV算法，当前点值大于阈值thresh时，设置为0，否则设置为最大值maxva 2   THRESH_TOZERO算法，当前点值大于阈值thresh时，不改变，否则设置为0 3   THRESH_TOZERO_INV算法，当前点值大于阈值thresh时，设置为0，否则不改变 4   THRESH_TRUNC算法，当前点值大于阈值thresh时，设置为阈值thresh，否则不改变 5   ADAPTIVE_THRESH_MEAN_C算法，自适应阈值 6   ADAPTIVE_THRESH_GAUSSIAN_C算法，自适应阈值 thresh阈值，maxval最大值，threshold默认保存原图。thresh和maxval同为255时灰度处理 mode 操作模式，后台 true，前台 false。默认前台操作, 仅适用于hwnd</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p></p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getCaptcha">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getCaptcha</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">username</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">password</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">softId</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">codeType</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">lenMin=&quot;0&quot;</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getCaptcha" title="永久链接至目标">#</a></dt>
<dd><p>识别验证码</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>filePath</strong> (<em>string</em>) – 图片文件路径</p></li>
<li><p><strong>username</strong> (<em>string</em>) – 用户名</p></li>
<li><p><strong>password</strong> (<em>string</em>) – 密码</p></li>
<li><p><strong>softId</strong> (<em>string</em>) – 软件ID</p></li>
<li><p><strong>codeType</strong> (<em>string</em>) – 图片类型 参考https://www.chaojiying.com/price.html</p></li>
<li><p><strong>lenMin</strong> (<em>string</em>) – 最小位数 默认0为不启用,图片类型为可变位长时可启用这个参数</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{err_no:number, err_str:string, pic_id:string, pic_str:string, md5:string}&gt;</strong> – 返回JSON err_no,(数值) 返回代码  为0 表示正常，错误代码 参考https://www.chaojiying.com/api-23.html err_str,(字符串) 中文描述的返回信息 pic_id,(字符串) 图片标识号，或图片id号 pic_str,(字符串) 识别出的结果 md5,(字符串) md5校验值,用来校验此条数据返回是否真实有效</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getClipboardText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getClipboardText</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getClipboardText" title="永久链接至目标">#</a></dt>
<dd><p>获取剪切板文本</p>
<dl class="field-list simple">
<dt class="field-odd">返回<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>Promise.&lt;string&gt;</strong> – 返回剪切板文本</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getColor">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getColor</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mode=false</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getColor" title="永久链接至目标">#</a></dt>
<dd><p>获取指定坐标点的色值</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>x</strong> (<em>number</em>) – 横坐标</p></li>
<li><p><strong>y</strong> (<em>number</em>) – 纵坐标</p></li>
<li><p><strong>mode</strong> (<em>boolean</em>) – 操作模式，后台 true，前台 false。默认前台操作</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回#开头的颜色值，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getElementName">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getElementName</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getElementName" title="永久链接至目标">#</a></dt>
<dd><p>获取指定元素名称</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回元素名称</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getElementRect">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getElementRect</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getElementRect" title="永久链接至目标">#</a></dt>
<dd><p>获取指定元素矩形大小</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{left:number, top:number, right:number, bottom:number}&gt;</strong> – 成功返回元素位置，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getElementValue">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getElementValue</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getElementValue" title="永久链接至目标">#</a></dt>
<dd><p>获取指定元素文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回元素文本</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getElementWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getElementWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getElementWindow" title="永久链接至目标">#</a></dt>
<dd><p>获取元素窗口句柄</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回元素窗口句柄，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getWindowName">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getWindowName</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getWindowName" title="永久链接至目标">#</a></dt>
<dd><p>获取窗口名称</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回窗口名称，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getWindowPos">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getWindowPos</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getWindowPos" title="永久链接至目标">#</a></dt>
<dd><p>获取窗口位置</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{left:number, top:number, width:number, height:number}&gt;</strong> – 成功返回窗口位置，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.getWords">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">getWords</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwndOrImagePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.getWords" title="永久链接至目标">#</a></dt>
<dd><p>获取屏幕文字</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwndOrImagePath</strong> (<em>string|number</em>) – 窗口句柄或者图片路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 失败返回null，成功返窗口上的文字</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.initNLP">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">initNLP</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">aipKey</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.initNLP" title="永久链接至目标">#</a></dt>
<dd><p>初始化NLP</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>aipKey</strong> (<em>string</em>) – 密钥</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.initSpeechService">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">initSpeechService</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">speechKey</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">speechRegion</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.initSpeechService" title="永久链接至目标">#</a></dt>
<dd><p>初始化语音服务</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>speechKey,</strong> (<em>string</em>) – 密钥</p></li>
<li><p><strong>speechRegion,</strong> (<em>string</em>) – 区域</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.invokeElement">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">invokeElement</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.invokeElement" title="永久链接至目标">#</a></dt>
<dd><p>执行元素默认操作(一般是点击操作)</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.isSelected">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">isSelected</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.isSelected" title="永久链接至目标">#</a></dt>
<dd><p>单/复选框是否选中</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.listFineTune">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">listFineTune</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fineTuneId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.listFineTune" title="永久链接至目标">#</a></dt>
<dd><p>获取指定微调id的详细信息</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fineTuneId,</strong> (<em>string</em>) – 微调id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p></p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.listFineTunes">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">listFineTunes</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.listFineTunes" title="永久链接至目标">#</a></dt>
<dd><p>列出所有微调信息</p>
<dl class="field-list simple">
<dt class="field-odd">返回<span class="colon">:</span></dt>
<dd class="field-odd"><p></p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.listTrainFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">listTrainFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">fileId</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.listTrainFile" title="永久链接至目标">#</a></dt>
<dd><p>列出指定id的文件信息</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>fileId,</strong> (<em>string</em>) – 文件id</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回json对象，失败返回null bytes 训练数据文件的大小 fileName 训练数据文件的名称 fileId 训练数据文件的id purpose 文件的意图 例如：”fine-tune” 意图为 用作微调模型</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.listTrainFiles">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">listTrainFiles</span></span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.listTrainFiles" title="永久链接至目标">#</a></dt>
<dd><p>列出所有训练文件信息</p>
<dl class="field-list simple">
<dt class="field-odd">返回<span class="colon">:</span></dt>
<dd class="field-odd"><p></p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.microphoneToText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">microphoneToText</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">language</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.microphoneToText" title="永久链接至目标">#</a></dt>
<dd><p>麦克风输入流转换文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>language,</strong> (<em>string</em>) – 语言，参考开发文档 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回转换后的音频文本，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.microphoneTranslationText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">microphoneTranslationText</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sourceLanguage，要翻译的语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">targetLanguage，翻译后的语言，参考开发文档</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.microphoneTranslationText" title="永久链接至目标">#</a></dt>
<dd><p>麦克风音频翻译成目标语言文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sourceLanguage，要翻译的语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>targetLanguage，翻译后的语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回翻译后的语言文本，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.moveMouse">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">moveMouse</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.moveMouse" title="永久链接至目标">#</a></dt>
<dd><p>移动鼠标</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>x</strong> (<em>number</em>) – 横坐标</p></li>
<li><p><strong>y</strong> (<em>number</em>) – 纵坐标</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.moveMouseRelative">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">moveMouseRelative</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mode=false</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.moveMouseRelative" title="永久链接至目标">#</a></dt>
<dd><p>移动鼠标(相对坐标)</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>x</strong> (<em>number</em>) – 相对横坐标</p></li>
<li><p><strong>y</strong> (<em>number</em>) – 相对纵坐标</p></li>
<li><p><strong>mode</strong> (<em>boolean</em>) – 操作模式，后台 true，前台 false。默认前台操作</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.openExcel">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">openExcel</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">excelPath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.openExcel" title="永久链接至目标">#</a></dt>
<dd><p>打开excel文档</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>excelPath</strong> (<em>string</em>) – excle路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;Object&gt;</strong> – 成功返回excel对象，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.openExcelSheet">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">openExcelSheet</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">excelObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sheetName</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.openExcelSheet" title="永久链接至目标">#</a></dt>
<dd><p>打开excel表格</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>excelObject</strong> (<em>Object</em>) – excel对象</p></li>
<li><p><strong>sheetName</strong> (<em>string</em>) – 表名</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;Object&gt;</strong> – 成功返回sheet对象，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.readExcelNum">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">readExcelNum</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">row</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">col</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.readExcelNum" title="永久链接至目标">#</a></dt>
<dd><p>读取excel表格数字</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>row</strong> (<em>number</em>) – 行</p></li>
<li><p><strong>col</strong> (<em>number</em>) – 列</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;number&gt;</strong> – 返回读取到的数字</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.readExcelStr">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">readExcelStr</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">row</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">col</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.readExcelStr" title="永久链接至目标">#</a></dt>
<dd><p>读取excel表格字串</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>row</strong> (<em>number</em>) – 行</p></li>
<li><p><strong>col</strong> (<em>number</em>) – 列</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 返回读取到的字符</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.removeExcelCol">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">removeExcelCol</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">colFirst</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">colLast</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.removeExcelCol" title="永久链接至目标">#</a></dt>
<dd><p>删除excel表格列</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>colFirst</strong> (<em>number</em>) – 起始列</p></li>
<li><p><strong>colLast</strong> (<em>number</em>) – 结束列</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.removeExcelRow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">removeExcelRow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">rowFirst</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">rowLast</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.removeExcelRow" title="永久链接至目标">#</a></dt>
<dd><p>删除excel表格行</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>rowFirst</strong> (<em>number</em>) – 起始行</p></li>
<li><p><strong>rowLast</strong> (<em>number</em>) – 结束行</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.rollMouse">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">rollMouse</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dwData</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mode=false</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.rollMouse" title="永久链接至目标">#</a></dt>
<dd><p>滚动鼠标</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>x</strong> (<em>number</em>) – 横坐标</p></li>
<li><p><strong>y</strong> (<em>number</em>) – 纵坐标</p></li>
<li><p><strong>dwData</strong> (<em>number</em>) – 鼠标滚动次数,负数下滚鼠标,正数上滚鼠标</p></li>
<li><p><strong>mode</strong> (<em>boolean</em>) – 操作模式，后台 true，前台 false。默认前台操作</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.saveExcel">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">saveExcel</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">excelObject</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.saveExcel" title="永久链接至目标">#</a></dt>
<dd><p>保存excel文档</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>excelObject</strong> (<em>Object</em>) – excel对象</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.saveScreenshot">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">saveScreenshot</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">savePath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.saveScreenshot" title="永久链接至目标">#</a></dt>
<dd><p>截图保存</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>savePath</strong> (<em>string</em>) – 保存的位置</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> –</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.scoreCaptcha">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">scoreCaptcha</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">username</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">password</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.scoreCaptcha" title="永久链接至目标">#</a></dt>
<dd><p>查询验证码剩余题分</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>username</strong> (<em>string</em>) – 用户名</p></li>
<li><p><strong>password</strong> (<em>string</em>) – 密码</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;{err_no:number, err_str:string, tifen:string, tifen_lock:string}&gt;</strong> – 返回JSON err_no,(数值) 返回代码 err_str,(字符串) 中文描述的返回信息 tifen,(数值) 题分 tifen_lock,(数值) 锁定题分</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.sendKeys">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sendKeys</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">text</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.sendKeys" title="永久链接至目标">#</a></dt>
<dd><p>输入文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>text</strong> (<em>string</em>) – 输入的文本</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.sendKeysByHwnd">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sendKeysByHwnd</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">text</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.sendKeysByHwnd" title="永久链接至目标">#</a></dt>
<dd><p>后台输入文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄，如果目标控件有单独的句柄，需要通过getElementWindow获得句柄</p></li>
<li><p><strong>text</strong> (<em>string</em>) – 输入的文本</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.sendVk">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sendVk</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">bVk</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">msg</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.sendVk" title="永久链接至目标">#</a></dt>
<dd><p>输入虚拟键值(VK)</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>bVk</strong> (<em>number</em>) – VK键值，例如：回车对应 VK键值 13</p></li>
<li><p><strong>msg</strong> (<em>number</em>) – 按下弹起:1 按下:2 弹起:3</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.sendVkByHwnd">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sendVkByHwnd</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bVk</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">msg</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.sendVkByHwnd" title="永久链接至目标">#</a></dt>
<dd><p>后台输入虚拟键值(VK)</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄，如果目标控件有单独的句柄，需要通过getElementWindow获得句柄</p></li>
<li><p><strong>bVk</strong> (<em>number</em>) – VK键值，例如：回车对应 VK键值 13</p></li>
<li><p><strong>msg</strong> (<em>number</em>) – 按下弹起:1 按下:2 弹起:3</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 总是返回true。若是后台组合键，可使用sendVk 按下控制键(AltShiftCtrl…)，再组合其他按键</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setClipboardText">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setClipboardText</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">text</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setClipboardText" title="永久链接至目标">#</a></dt>
<dd><p>设置剪切板文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>text</strong> (<em>string</em>) – 设置的文本</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setElementFocus">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setElementFocus</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setElementFocus" title="永久链接至目标">#</a></dt>
<dd><p>设置指定元素作为焦点</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setElementScroll">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setElementScroll</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">horizontalPercent</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">verticalPercent</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setElementScroll" title="永久链接至目标">#</a></dt>
<dd><p>滚动元素</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
<li><p><strong>horizontalPercent</strong> (<em>number</em>) – 水平百分比 -1不滚动</p></li>
<li><p><strong>verticalPercent</strong> (<em>number</em>) – 垂直百分比 -1不滚动</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setElementValue">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setElementValue</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setElementValue" title="永久链接至目标">#</a></dt>
<dd><p>设置元素文本</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
<li><p><strong>value</strong> (<em>string</em>) – 要设置的内容</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setImplicitTimeout">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setImplicitTimeout</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">waitMs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">intervalMs=10</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setImplicitTimeout" title="永久链接至目标">#</a></dt>
<dd><p>设置隐式等待</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>waitMs</strong> (<em>number</em>) – 等待时间,单位毫秒</p></li>
<li><p><strong>intervalMs</strong> (<em>number</em>) – 心跳间隔，单位毫秒。可选参数，默认10毫秒</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;void&gt;</strong> –</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setWindowPos">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setWindowPos</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">left</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">top</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">width</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">height</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setWindowPos" title="永久链接至目标">#</a></dt>
<dd><p>设置窗口位置</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>left</strong> (<em>number</em>) – 左上角横坐标</p></li>
<li><p><strong>top</strong> (<em>number</em>) – 左上角纵坐标</p></li>
<li><p><strong>width</strong> (<em>number</em>) – 窗口宽度</p></li>
<li><p><strong>height</strong> (<em>number</em>) – 窗口高度</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setWindowState">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setWindowState</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">xpath</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">state</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setWindowState" title="永久链接至目标">#</a></dt>
<dd><p>设置窗口状态</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄。如果是java窗口并且窗口句柄和元素句柄不一致，需要使用getElementWindow获取窗口句柄。 getElementWindow参数的xpath，Aibote Tool应当使用正常模式下获取的XPATH路径，不要 “勾选java窗口” 复选按钮。对话框子窗口，需要获取对应的窗口句柄操作</p></li>
<li><p><strong>xpath</strong> (<em>string</em>) – 元素路径</p></li>
<li><p><strong>state</strong> (<em>number</em>) – 0正常 1最大化 2 最小化</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true 失败返回 false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.setWindowTop">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">setWindowTop</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">isTop</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.setWindowTop" title="永久链接至目标">#</a></dt>
<dd><p>设置窗口到最顶层</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>isTop</strong> (<em>boolean</em>) – 是否置顶，true置顶， false取消置顶</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.showWindow">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">showWindow</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hwnd</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">isShow</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.showWindow" title="永久链接至目标">#</a></dt>
<dd><p>显示/隐藏窗口</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>hwnd</strong> (<em>string|number</em>) – 窗口句柄</p></li>
<li><p><strong>isShow</strong> (<em>boolean</em>) – 显示窗口 true， 隐藏窗口 false</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.sleep">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">sleep</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">millisecond</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.sleep" title="永久链接至目标">#</a></dt>
<dd><p>睡眠等待</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>millisecond</strong> (<em>number</em>) – 等待时间,单位毫秒</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;void&gt;</strong> –</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.startProcess">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">startProcess</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">commandLine</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">showWindow=true</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">isWait=false</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.startProcess" title="永久链接至目标">#</a></dt>
<dd><p>启动指定程序</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>commandLine</strong> (<em>string</em>) – 启动命令行</p></li>
<li><p><strong>showWindow</strong> (<em>boolean</em>) – 是否显示窗口。可选参数,默认显示窗口</p></li>
<li><p><strong>isWait</strong> (<em>boolean</em>) – 是否等待程序结束。可选参数,默认不等待</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true,失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.textToAudioFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">textToAudioFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">text，要转换语音的文本</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">language，语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">voiceName，发音人，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">audioPath，保存音频文件路径</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.textToAudioFile" title="永久链接至目标">#</a></dt>
<dd><p>文本合成音频并保存到文件</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>text，要转换语音的文本</strong> (<em>string</em>) – </p></li>
<li><p><strong>language，语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>voiceName，发音人，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>audioPath，保存音频文件路径</strong> (<em>string</em>) – </p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.textToBullhorn">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">textToBullhorn</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">text，要转换语音的文本</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">language，语言，参考开发文档</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">voiceName，发音人，参考开发文档</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.textToBullhorn" title="永久链接至目标">#</a></dt>
<dd><p>文本合成音频到扬声器</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>text，要转换语音的文本</strong> (<em>string</em>) – </p></li>
<li><p><strong>language，语言，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
<li><p><strong>voiceName，发音人，参考开发文档</strong> (<em>string</em>) – 语言和发音人</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.uploadTrainFile">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">uploadTrainFile</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filePath</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.uploadTrainFile" title="永久链接至目标">#</a></dt>
<dd><p>上传训练文件到服务器</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>filePath,</strong> (<em>string</em>) – 文件路径，不支持中文路径</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;string&gt;</strong> – 成功返回文件id，失败返回null</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.writeExcelNum">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">writeExcelNum</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">row</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">col</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.writeExcelNum" title="永久链接至目标">#</a></dt>
<dd><p>写入数字到excel表格</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>row</strong> (<em>number</em>) – 行</p></li>
<li><p><strong>col</strong> (<em>number</em>) – 列</p></li>
<li><p><strong>value</strong> (<em>number</em>) – 写入的值</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js function">
<dt class="sig sig-object js" id="WindowsBot.writeExcelStr">
<span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">writeExcelStr</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sheetObject</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">row</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">col</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">strValue</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.writeExcelStr" title="永久链接至目标">#</a></dt>
<dd><p>写入字符串到excel表格</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>sheetObject</strong> (<em>Object</em>) – sheet对象</p></li>
<li><p><strong>row</strong> (<em>number</em>) – 行</p></li>
<li><p><strong>col</strong> (<em>number</em>) – 列</p></li>
<li><p><strong>strValue</strong> (<em>string</em>) – 写入的值</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;boolean&gt;</strong> – 成功返回true，失败返回false</p>
</dd>
</dl>
</dd></dl>

<dl class="js staticfunction">
<dt class="sig sig-object js" id="WindowsBot.build">
<em class="property"><span class="k"><span class="pre">static</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">build</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ip</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">port=19999</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.build" title="永久链接至目标">#</a></dt>
<dd><p>构建windowsBot</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>ip</strong> (<em>string</em>) – windowsBot服务端地址，假如值为 “127.0.0.1”脚本会自动启动WindowsDriver.exe，如果是远程服务地址，用户需要手动启动WindowsDriver.exe 并且提供启动参数。 命令行启动示例：WindowsDriver.exe 19999</p></li>
<li><p><strong>port</strong> (<em>number</em>) – windowsBot服务端端口, 默认 19999</p></li>
</ul>
</dd>
<dt class="field-even">返回<span class="colon">:</span></dt>
<dd class="field-even"><p><strong>Promise.&lt;WindowsBot&gt;</strong> –</p>
</dd>
</dl>
</dd></dl>

<dl class="js staticfunction">
<dt class="sig sig-object js" id="WindowsBot.registerMain">
<em class="property"><span class="k"><span class="pre">static</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="n"><span class="pre">WindowsBot</span></span><span class="p"><span class="pre">.</span></span></span><span class="sig-name descname"><span class="n"><span class="pre">registerMain</span></span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">windowsMain</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">ip</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">port=26678</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#WindowsBot.registerMain" title="永久链接至目标">#</a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>windowsMain</strong> (<em>function</em>) – 要注册的函数，必须含一个参数，用作接收WindowsBot对象</p></li>
<li><p><strong>ip</strong> (<em>string</em>) – 脚本所在的地址，传递给WindowsDriver.exe。如果值为 “127.0.0.1”脚本会将参数 ip和port作为启动参数并启动WindowsDriver.exe，否则用户需要手动启动WindowsDriver.exe 并且提供启动参数。</p></li>
<li><p><strong>port</strong> (<em>number</em>) – 监听端口, 传递给WindowsDriver.exe</p></li>
</ul>
</dd>
</dl>
</dd></dl>

</dd></dl>

<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.sleep.html">WindowsBot.sleep</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.sleep.html#WindowsBot.sleep"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sleep()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setImplicitTimeout.html">WindowsBot.setImplicitTimeout</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setImplicitTimeout.html#WindowsBot.setImplicitTimeout"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setImplicitTimeout()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findWindow.html">WindowsBot.findWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findWindow.html#WindowsBot.findWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findWindows.html">WindowsBot.findWindows</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findWindows.html#WindowsBot.findWindows"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWindows()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findSubWindow.html">WindowsBot.findSubWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findSubWindow.html#WindowsBot.findSubWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findSubWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findParentWindow.html">WindowsBot.findParentWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findParentWindow.html#WindowsBot.findParentWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findParentWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findDesktopWindow.html">WindowsBot.findDesktopWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findDesktopWindow.html#WindowsBot.findDesktopWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findDesktopWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getWindowName.html">WindowsBot.getWindowName</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getWindowName.html#WindowsBot.getWindowName"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWindowName()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.showWindow.html">WindowsBot.showWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.showWindow.html#WindowsBot.showWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.showWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setWindowTop.html">WindowsBot.setWindowTop</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setWindowTop.html#WindowsBot.setWindowTop"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowTop()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getWindowPos.html">WindowsBot.getWindowPos</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getWindowPos.html#WindowsBot.getWindowPos"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWindowPos()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setWindowPos.html">WindowsBot.setWindowPos</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setWindowPos.html#WindowsBot.setWindowPos"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowPos()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.moveMouse.html">WindowsBot.moveMouse</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.moveMouse.html#WindowsBot.moveMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.moveMouse()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.moveMouseRelative.html">WindowsBot.moveMouseRelative</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.moveMouseRelative.html#WindowsBot.moveMouseRelative"><code class="docutils literal notranslate"><span class="pre">WindowsBot.moveMouseRelative()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.rollMouse.html">WindowsBot.rollMouse</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.rollMouse.html#WindowsBot.rollMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.rollMouse()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.clickMouse.html">WindowsBot.clickMouse</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.clickMouse.html#WindowsBot.clickMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.clickMouse()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.sendKeys.html">WindowsBot.sendKeys</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.sendKeys.html#WindowsBot.sendKeys"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendKeys()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.sendKeysByHwnd.html">WindowsBot.sendKeysByHwnd</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.sendKeysByHwnd.html#WindowsBot.sendKeysByHwnd"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendKeysByHwnd()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.sendVk.html">WindowsBot.sendVk</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.sendVk.html#WindowsBot.sendVk"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendVk()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.sendVkByHwnd.html">WindowsBot.sendVkByHwnd</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.sendVkByHwnd.html#WindowsBot.sendVkByHwnd"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendVkByHwnd()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.saveScreenshot.html">WindowsBot.saveScreenshot</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.saveScreenshot.html#WindowsBot.saveScreenshot"><code class="docutils literal notranslate"><span class="pre">WindowsBot.saveScreenshot()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getColor.html">WindowsBot.getColor</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getColor.html#WindowsBot.getColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getColor()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findImage.html">WindowsBot.findImage</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findImage.html#WindowsBot.findImage"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findImage()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findAnimation.html">WindowsBot.findAnimation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findAnimation.html#WindowsBot.findAnimation"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findAnimation()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findColor.html">WindowsBot.findColor</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findColor.html#WindowsBot.findColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findColor()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.compareColor.html">WindowsBot.compareColor</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.compareColor.html#WindowsBot.compareColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.compareColor()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getWords.html">WindowsBot.getWords</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getWords.html#WindowsBot.getWords"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWords()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.findWords.html">WindowsBot.findWords</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.findWords.html#WindowsBot.findWords"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWords()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getElementName.html">WindowsBot.getElementName</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getElementName.html#WindowsBot.getElementName"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementName()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getElementValue.html">WindowsBot.getElementValue</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getElementValue.html#WindowsBot.getElementValue"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementValue()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getElementRect.html">WindowsBot.getElementRect</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getElementRect.html#WindowsBot.getElementRect"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementRect()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getElementWindow.html">WindowsBot.getElementWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getElementWindow.html#WindowsBot.getElementWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.clickElement.html">WindowsBot.clickElement</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.clickElement.html#WindowsBot.clickElement"><code class="docutils literal notranslate"><span class="pre">WindowsBot.clickElement()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.invokeElement.html">WindowsBot.invokeElement</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.invokeElement.html#WindowsBot.invokeElement"><code class="docutils literal notranslate"><span class="pre">WindowsBot.invokeElement()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setElementFocus.html">WindowsBot.setElementFocus</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setElementFocus.html#WindowsBot.setElementFocus"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementFocus()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setElementValue.html">WindowsBot.setElementValue</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setElementValue.html#WindowsBot.setElementValue"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementValue()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setElementScroll.html">WindowsBot.setElementScroll</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setElementScroll.html#WindowsBot.setElementScroll"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementScroll()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.isSelected.html">WindowsBot.isSelected</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.isSelected.html#WindowsBot.isSelected"><code class="docutils literal notranslate"><span class="pre">WindowsBot.isSelected()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.closeWindow.html">WindowsBot.closeWindow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.closeWindow.html#WindowsBot.closeWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.closeWindow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setWindowState.html">WindowsBot.setWindowState</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setWindowState.html#WindowsBot.setWindowState"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowState()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.setClipboardText.html">WindowsBot.setClipboardText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.setClipboardText.html#WindowsBot.setClipboardText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setClipboardText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getClipboardText.html">WindowsBot.getClipboardText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getClipboardText.html#WindowsBot.getClipboardText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getClipboardText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.startProcess.html">WindowsBot.startProcess</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.startProcess.html#WindowsBot.startProcess"><code class="docutils literal notranslate"><span class="pre">WindowsBot.startProcess()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.executeCommand.html">WindowsBot.executeCommand</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.executeCommand.html#WindowsBot.executeCommand"><code class="docutils literal notranslate"><span class="pre">WindowsBot.executeCommand()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.downloadFile.html">WindowsBot.downloadFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.downloadFile.html#WindowsBot.downloadFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.downloadFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.openExcel.html">WindowsBot.openExcel</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.openExcel.html#WindowsBot.openExcel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.openExcel()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.openExcelSheet.html">WindowsBot.openExcelSheet</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.openExcelSheet.html#WindowsBot.openExcelSheet"><code class="docutils literal notranslate"><span class="pre">WindowsBot.openExcelSheet()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.saveExcel.html">WindowsBot.saveExcel</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.saveExcel.html#WindowsBot.saveExcel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.saveExcel()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.writeExcelNum.html">WindowsBot.writeExcelNum</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.writeExcelNum.html#WindowsBot.writeExcelNum"><code class="docutils literal notranslate"><span class="pre">WindowsBot.writeExcelNum()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.writeExcelStr.html">WindowsBot.writeExcelStr</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.writeExcelStr.html#WindowsBot.writeExcelStr"><code class="docutils literal notranslate"><span class="pre">WindowsBot.writeExcelStr()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.readExcelNum.html">WindowsBot.readExcelNum</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.readExcelNum.html#WindowsBot.readExcelNum"><code class="docutils literal notranslate"><span class="pre">WindowsBot.readExcelNum()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.readExcelStr.html">WindowsBot.readExcelStr</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.readExcelStr.html#WindowsBot.readExcelStr"><code class="docutils literal notranslate"><span class="pre">WindowsBot.readExcelStr()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.removeExcelRow.html">WindowsBot.removeExcelRow</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.removeExcelRow.html#WindowsBot.removeExcelRow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.removeExcelRow()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.removeExcelCol.html">WindowsBot.removeExcelCol</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.removeExcelCol.html#WindowsBot.removeExcelCol"><code class="docutils literal notranslate"><span class="pre">WindowsBot.removeExcelCol()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.getCaptcha.html">WindowsBot.getCaptcha</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.getCaptcha.html#WindowsBot.getCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getCaptcha()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.errorCaptcha.html">WindowsBot.errorCaptcha</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.errorCaptcha.html#WindowsBot.errorCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.errorCaptcha()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.scoreCaptcha.html">WindowsBot.scoreCaptcha</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.scoreCaptcha.html#WindowsBot.scoreCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.scoreCaptcha()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.initNLP.html">WindowsBot.initNLP</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.initNLP.html#WindowsBot.initNLP"><code class="docutils literal notranslate"><span class="pre">WindowsBot.initNLP()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.chatgpt.html">WindowsBot.chatgpt</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.chatgpt.html#WindowsBot.chatgpt"><code class="docutils literal notranslate"><span class="pre">WindowsBot.chatgpt()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.chatgptEdit.html">WindowsBot.chatgptEdit</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.chatgptEdit.html#WindowsBot.chatgptEdit"><code class="docutils literal notranslate"><span class="pre">WindowsBot.chatgptEdit()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.createFineTune.html">WindowsBot.createFineTune</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.createFineTune.html#WindowsBot.createFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.createFineTune()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.listFineTunes.html">WindowsBot.listFineTunes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.listFineTunes.html#WindowsBot.listFineTunes"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listFineTunes()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.listFineTune.html">WindowsBot.listFineTune</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.listFineTune.html#WindowsBot.listFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listFineTune()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.cancelFineTune.html">WindowsBot.cancelFineTune</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.cancelFineTune.html#WindowsBot.cancelFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.cancelFineTune()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.deleteFineTuneModel.html">WindowsBot.deleteFineTuneModel</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.deleteFineTuneModel.html#WindowsBot.deleteFineTuneModel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.deleteFineTuneModel()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.uploadTrainFile.html">WindowsBot.uploadTrainFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.uploadTrainFile.html#WindowsBot.uploadTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.uploadTrainFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.listTrainFiles.html">WindowsBot.listTrainFiles</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.listTrainFiles.html#WindowsBot.listTrainFiles"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listTrainFiles()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.listTrainFile.html">WindowsBot.listTrainFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.listTrainFile.html#WindowsBot.listTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listTrainFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.downloadTrainFile.html">WindowsBot.downloadTrainFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.downloadTrainFile.html#WindowsBot.downloadTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.downloadTrainFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.deleteTrainFile.html">WindowsBot.deleteTrainFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.deleteTrainFile.html#WindowsBot.deleteTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.deleteTrainFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.initSpeechService.html">WindowsBot.initSpeechService</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.initSpeechService.html#WindowsBot.initSpeechService"><code class="docutils literal notranslate"><span class="pre">WindowsBot.initSpeechService()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.audioFileToText.html">WindowsBot.audioFileToText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.audioFileToText.html#WindowsBot.audioFileToText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.audioFileToText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.microphoneToText.html">WindowsBot.microphoneToText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.microphoneToText.html#WindowsBot.microphoneToText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.microphoneToText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.textToBullhorn.html">WindowsBot.textToBullhorn</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.textToBullhorn.html#WindowsBot.textToBullhorn"><code class="docutils literal notranslate"><span class="pre">WindowsBot.textToBullhorn()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.textToAudioFile.html">WindowsBot.textToAudioFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.textToAudioFile.html#WindowsBot.textToAudioFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.textToAudioFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.SSMLToBullhorn.html">WindowsBot.SSMLToBullhorn</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.SSMLToBullhorn.html#WindowsBot.SSMLToBullhorn"><code class="docutils literal notranslate"><span class="pre">WindowsBot.SSMLToBullhorn()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.SSMLToFile.html">WindowsBot.SSMLToFile</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.SSMLToFile.html#WindowsBot.SSMLToFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.SSMLToFile()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.microphoneTranslationText.html">WindowsBot.microphoneTranslationText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.microphoneTranslationText.html#WindowsBot.microphoneTranslationText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.microphoneTranslationText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.audioFileTranslationText.html">WindowsBot.audioFileTranslationText</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.audioFileTranslationText.html#WindowsBot.audioFileTranslationText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.audioFileTranslationText()</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="api/WindowsBot.closeDriver.html">WindowsBot.closeDriver</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/WindowsBot.closeDriver.html#WindowsBot.closeDriver"><code class="docutils literal notranslate"><span class="pre">WindowsBot.closeDriver()</span></code></a></li>
</ul>
</li>
</ul>
</div>
</section>


                </article>
              
              
              
                <footer class="bd-footer-article">
                  <!-- Previous / next buttons -->
<div class="prev-next-area">
    <a class="left-prev"
       href="api/WebBot.closeDriver.html"
       title="previous page">
      <i class="fa-solid fa-angle-left"></i>
      <div class="prev-next-info">
        <p class="prev-next-subtitle">上一页</p>
        <p class="prev-next-title">WebBot.closeDriver</p>
      </div>
    </a>
    <a class="right-next"
       href="api/WindowsBot.sleep.html"
       title="next page">
      <div class="prev-next-info">
        <p class="prev-next-subtitle">下一页</p>
        <p class="prev-next-title">WindowsBot.sleep</p>
      </div>
      <i class="fa-solid fa-angle-right"></i>
    </a>
</div>
                </footer>
              
            </div>
            
            
              
                <div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">

  <div class="sidebar-secondary-item">
  <div class="page-toc tocsection onthispage">
    <i class="fa-solid fa-list"></i> On this page
  </div>
  <nav class="bd-toc-nav page-toc">
    <ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot"><code class="docutils literal notranslate"><span class="pre">WindowsBot</span></code></a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.ocr"><code class="docutils literal notranslate"><span class="pre">WindowsBot.ocr</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.ocrByFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.ocrByFile</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sendData"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendData</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.SSMLToBullhorn"><code class="docutils literal notranslate"><span class="pre">WindowsBot.SSMLToBullhorn()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.SSMLToFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.SSMLToFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.audioFileToText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.audioFileToText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.audioFileTranslationText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.audioFileTranslationText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.cancelFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.cancelFineTune()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.chatgpt"><code class="docutils literal notranslate"><span class="pre">WindowsBot.chatgpt()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.chatgptEdit"><code class="docutils literal notranslate"><span class="pre">WindowsBot.chatgptEdit()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.clickElement"><code class="docutils literal notranslate"><span class="pre">WindowsBot.clickElement()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.clickMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.clickMouse()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.closeDriver"><code class="docutils literal notranslate"><span class="pre">WindowsBot.closeDriver()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.closeWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.closeWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.compareColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.compareColor()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.createFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.createFineTune()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.deleteFineTuneModel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.deleteFineTuneModel()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.deleteTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.deleteTrainFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.downloadFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.downloadFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.downloadTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.downloadTrainFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.errorCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.errorCaptcha()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.executeCommand"><code class="docutils literal notranslate"><span class="pre">WindowsBot.executeCommand()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findAnimation"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findAnimation()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findColor()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findDesktopWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findDesktopWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findImage"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findImage()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findParentWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findParentWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findSubWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findSubWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findWindows"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWindows()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.findWords"><code class="docutils literal notranslate"><span class="pre">WindowsBot.findWords()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getCaptcha()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getClipboardText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getClipboardText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getColor"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getColor()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getElementName"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementName()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getElementRect"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementRect()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getElementValue"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementValue()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getElementWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getElementWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getWindowName"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWindowName()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getWindowPos"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWindowPos()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.getWords"><code class="docutils literal notranslate"><span class="pre">WindowsBot.getWords()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.initNLP"><code class="docutils literal notranslate"><span class="pre">WindowsBot.initNLP()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.initSpeechService"><code class="docutils literal notranslate"><span class="pre">WindowsBot.initSpeechService()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.invokeElement"><code class="docutils literal notranslate"><span class="pre">WindowsBot.invokeElement()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.isSelected"><code class="docutils literal notranslate"><span class="pre">WindowsBot.isSelected()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.listFineTune"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listFineTune()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.listFineTunes"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listFineTunes()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.listTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listTrainFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.listTrainFiles"><code class="docutils literal notranslate"><span class="pre">WindowsBot.listTrainFiles()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.microphoneToText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.microphoneToText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.microphoneTranslationText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.microphoneTranslationText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.moveMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.moveMouse()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.moveMouseRelative"><code class="docutils literal notranslate"><span class="pre">WindowsBot.moveMouseRelative()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.openExcel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.openExcel()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.openExcelSheet"><code class="docutils literal notranslate"><span class="pre">WindowsBot.openExcelSheet()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.readExcelNum"><code class="docutils literal notranslate"><span class="pre">WindowsBot.readExcelNum()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.readExcelStr"><code class="docutils literal notranslate"><span class="pre">WindowsBot.readExcelStr()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.removeExcelCol"><code class="docutils literal notranslate"><span class="pre">WindowsBot.removeExcelCol()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.removeExcelRow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.removeExcelRow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.rollMouse"><code class="docutils literal notranslate"><span class="pre">WindowsBot.rollMouse()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.saveExcel"><code class="docutils literal notranslate"><span class="pre">WindowsBot.saveExcel()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.saveScreenshot"><code class="docutils literal notranslate"><span class="pre">WindowsBot.saveScreenshot()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.scoreCaptcha"><code class="docutils literal notranslate"><span class="pre">WindowsBot.scoreCaptcha()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sendKeys"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendKeys()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sendKeysByHwnd"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendKeysByHwnd()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sendVk"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendVk()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sendVkByHwnd"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sendVkByHwnd()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setClipboardText"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setClipboardText()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setElementFocus"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementFocus()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setElementScroll"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementScroll()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setElementValue"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setElementValue()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setImplicitTimeout"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setImplicitTimeout()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setWindowPos"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowPos()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setWindowState"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowState()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.setWindowTop"><code class="docutils literal notranslate"><span class="pre">WindowsBot.setWindowTop()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.showWindow"><code class="docutils literal notranslate"><span class="pre">WindowsBot.showWindow()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.sleep"><code class="docutils literal notranslate"><span class="pre">WindowsBot.sleep()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.startProcess"><code class="docutils literal notranslate"><span class="pre">WindowsBot.startProcess()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.textToAudioFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.textToAudioFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.textToBullhorn"><code class="docutils literal notranslate"><span class="pre">WindowsBot.textToBullhorn()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.uploadTrainFile"><code class="docutils literal notranslate"><span class="pre">WindowsBot.uploadTrainFile()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.writeExcelNum"><code class="docutils literal notranslate"><span class="pre">WindowsBot.writeExcelNum()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.writeExcelStr"><code class="docutils literal notranslate"><span class="pre">WindowsBot.writeExcelStr()</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.build"><code class="docutils literal notranslate"><span class="pre">WindowsBot.build</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#WindowsBot.registerMain"><code class="docutils literal notranslate"><span class="pre">WindowsBot.registerMain</span></code></a></li>
</ul>
</li>
</ul>
  </nav></div>

</div></div>
              
            
          </div>
          <footer class="bd-footer-content">
            <div class="bd-footer-content__inner"></div>
          </footer>
        
      </main>
    </div>
  </div>
  
  <!-- Scripts loaded after <body> so the DOM is not blocked -->
  <script src="../../_static/scripts/bootstrap.js?digest=12da95d707ffb74b382d"></script>
<script src="../../_static/scripts/pydata-sphinx-theme.js?digest=12da95d707ffb74b382d"></script>

  <footer class="bd-footer">
<div class="bd-footer__inner bd-page-width">
  
    <div class="footer-items__start">
      
        <div class="footer-item">
  <p class="copyright">
    
      © Copyright 2023, Aibote.
      <br/>
    
  </p>
</div>
      
        <div class="footer-item">
  <p class="sphinx-version">
    Created using <a href="https://sphinx-doc.org/">Sphinx</a> 5.3.0.
    <br/>
  </p>
</div>
      
    </div>
  
  
    <div class="footer-items__end">
      
        <div class="footer-item"><p class="theme-version">
  Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.13.1.
</p></div>
      
    </div>
  
</div>

  </footer>
  </body>
</html>